/*
 * ExitListener.h
 */

#ifndef EXITLISTENER_H_
#define EXITLISTENER_H_

#include "../common/LogFile.h"
#include "../common/Socket.h"

class ExitListener {
private:
	bool socketListening;
	Port listeningPort;
	LogFile& logFile;
public:
	ExitListener(int argc, char* argv[], Port ctrlPort, LogFile &logFile);
	virtual ~ExitListener();

	void waitForExitEvent();
};

#endif /* EXITLISTENER_H_ */
